Inclusion v exclusion

When you select a criterion for filtering on, you have the "Selected Values" option to "Include" attributes you indicate (including all encounters fitting the description) or "Exclude" characteristics (eliminating all encounters with the values selected).

NOTE: Keep reading for more information about the interactions of filter inclusions and exclusions.

Visual explanation of filters

Assume, for a health system population, we have a few different facilities but we are only interested in a particular subset of our patient population. For simplicity, we define Criterion A to be Facility: Community Hospital and Criterion B to be APR-DRG: 722 (Fever), knowing each patient can fit criterion A, criterion B, both criteria, or neither criteria.

Consider the Venn diagram representations below. Similar logic can be applied to more criteria, but we have limited this example for visual simplicity.

For individuals accustomed to set notation, we have included the corresponding symbols below.

A ∩ B [A and B]

If we include A and B, our profile would only contain encounters from Facility 1 with an APR-DRG of 720. We would not see cases from other facilities or other APR-DRGs.

In the Venn diagram, this sub-population is represented by the middle overlap portion.

A ∩ !B [A and (NOT B)]

If we include A and exclude B, our profile would contain only the encounters in Facility 1 that did NOT have APR-DRG 720.

We see this in the Venn diagram as the blue portion of A (does not include the middle overlap area).

!A ∩ B [(NOT A) and B]

Similarly, if we exclude A and include B, our profile only contains the encounters with APR-DRG 720 that were NOT seen by Facility 1.

We see this in the Venn diagram as the blue portion of B (does not include the middle overlap area).

!A ∩ !B [NOT A and NOT B]

If we exclude A and B, our profile includes only encounters NOT at Facility 1 that did NOT have APR-DRG 720. Equivalent set notation is: !(A U B) or [NOT (A or B)].

This is represented by the gray area of the Venn diagram outside of both circles.